PDF4Java Reference Documentation
com.o2sol.pdf4java.graphics Package / PDFStringLayoutOptions Class / getWidth Method
In This Topic
    getWidth Method
    In This Topic
    Gets the width of rectangle that defines the text location.
    The text is automatically wrapped when the text width is greater than this width. If this is 0 or negative, its value is ignored and the text is not wrapped.
    Syntax
    public double getWidth()

    Return Value

    The width of text rectangle.
    See Also